<%@page import="net.pws.oos.security.SecurityUtils"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../header.jsp"%>

<script type="text/javascript" src="<%=ctx%>/js/jquery.bootstrap-carousel.js"></script>
<script type="text/javascript" src="<%=ctx%>/js/jquery.bootstrap-transition.js"></script>
<script type="text/javascript">

$(document).ready(function() {
	$('a[data-toggle="tab"]').on('shown', function (e) {
		var actived = $(e.target).attr("href");
		if(actived == "#detailPanel"){
			if ($(e.target).data("detailPanelLoaded")) {
				return;
			}
			$(e.target).data("detailPanelLoaded",true);
			initDetailPanel();
		}
		
	});
});
</script>

<div class="border bg">

<div class="page-header">
	<h2>修改模板<small> - ${data.name}</small></h2>
	<div class="cms_toolbar">
		<a href="./" class="btn"><i class="icon-list"></i>返回</a>
	</div>
</div>


<div id="tabs">
<ul class="nav nav-tabs">
<li class="active"><a href="#infoPanel" data-toggle="tab">基本信息</a></li>
<li><a href="#detailPanel" data-toggle="tab">指标列表</a></li>
</ul>

<div class="tab-content">
<div id="infoPanel" class="tab-pane fade in active">
	<%@ include file="edit.info.jsp"%>
</div>

<div id="detailPanel" class="tab-pane fade">
	<jsp:include page="edit.detail.jsp"/>
</div>
</div>
</div>

</div>


<%@ include file="../../footer.jsp"%>